package org.chronologger.poppaea.client.widgets;

import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.ui.AbsolutePanel;

public class EventAwareAbsolutePanel extends AbsolutePanel implements
		EventAware {

	public void addEventHandler(int events, EventHandler handler) {
		EventHandler.addEventHandler(this, events, handler);
	}

	public void removeEventHandler(int events, EventHandler handler) {
		EventHandler.removeEventHandlers(this, events, handler);
	}

	public void onBrowserEvent(Event event) {
		EventHandler.handleEvent(this, event);
	}

}
